namespace mplat {
    export class OppoUiInterface extends BaseUiInterface {
        showModal(title: IShowModalInfo) {
            if (qg['showModal']) {
                qg.showModal(title as _showModalObject)
            }
        }

        showLoading(title: string, mask?: boolean): void {
            qg.showLoading({ title, mask } as _showLoadingObject)
        }
        hideLoading(): void {
            qg.hideLoading()
        }
        showToast(obj:_showToastObject): void {
            qg['showToast'](obj)
        }
        hideToast(): void {
            qg['hideToast']();
        }
    }
}